package com.ckzp.jfinal.weixin.validate;

import com.ckzp.jfinal.base.Validator;
import com.jfinal.core.Controller;

/**
 * Created by wuyang(51594) on [date].
 */
public class WxTempletValidator extends Validator {

    protected void validate(Controller controller) {
        validateRequiredString("temp_title", "模板名称不能为空!");
        validateRequiredString("sindex", "显示顺序必须是数字!");
    }
}